//
//  UserReviewSettingsFieldKeys.swift
//  hello
//
//  Created by 赵康 on 2025/3/30.
//

import Fluent

extension UserReviewSettings {
  enum FieldKeys {
    static var dailyReviewCount: FieldKey { "dailyReviewCount"}
    static var prioritizeRecent: FieldKey { "prioritizeRecent"}
    static var lastSyncDate: FieldKey { "lastSyncDate"}
    static var reviewStatus: FieldKey { "reviewStatus"}
    static var user: FieldKey { "user"}
    static var createdAt: FieldKey { "createdAt"}
    static var updatedAt: FieldKey { "updatedAt"}
    
    // 新增Anki算法相关设置
    static var newCardsPerDay: FieldKey { "newCardsPerDay"}
    static var learningSteps: FieldKey { "learningSteps"}
    static var maxReviewsPerDay: FieldKey { "maxReviewsPerDay"}
    static var intervalModifier: FieldKey { "intervalModifier"}
    static var maxInterval: FieldKey { "maxInterval"}
    static var lapseSteps: FieldKey { "lapseSteps"}
    static var lapseNewInterval: FieldKey { "lapseNewInterval"}
    static var leechThreshold: FieldKey { "leechThreshold"}
  }
}
